-- GENERATED SPELL FOR [Frostwolf] --


function spell0_10981(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10981', 15000, 1)
end

function Sorts_10981(pUnit, Event)
local choix_sorts_10981 = math.random(0, 0)
if choix_sorts_10981 == 0 then
pUnit:RegisterEvent('spell0_10981', 1, 1)
end
end

function mob10981_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10981', math.random(1500, 3000), 1)
end

function mob10981_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10981_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10981_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10981, 1, 'mob10981_Action')
RegisterUnitEvent(10981, 2, 'mob10981_Leave')
RegisterUnitEvent(10981, 3, 'mob10981_Kill')
RegisterUnitEvent(10981, 4, 'mob10981_Die')
